package com.wwwc.index.ejb.directory;

import java.util.*;
import java.math.*;
import javax.ejb.EJBObject;
import java.rmi.RemoteException;

import com.wwwc.index.servlet.DirectoryDetails;

public interface Directory extends EJBObject {
    public Vector getDirectoryList(String table_name, int level) throws RemoteException;
    public int tableExists(String table_name) throws RemoteException;
    public String createDirectoryTable(String table_name) throws RemoteException;
    public int insertDefaultDirectoryValue(String table_name, String context, int cid, 
					   String cname, String admin) throws RemoteException; 
    public int updateDirectoryDetails(String table_name, String dir_id, String managers, String admins) throws RemoteException;
    public int updateDirectoryDetails(String table_name, String dir_id, String dir_name, String dir_type, 
				      String dir_level, String dir_age, String pre_level, String pre_age,
				      String read_level, String read_age, String write_level, String write_age,
				      String managers, String admins) throws RemoteException; 
}
